package com.graduation.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 卑微小峰
 * @date 2022/12/30
 * 角色菜单关系实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role_menu")
public class RoleMenu {

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private Long roleId;
  private Long menuId;
  private Date createTime;
  private Date updateTime;
}
